-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Elastic Agent] Cleaner output of inspect command #18405
Merged
michalpristas
merged 6 commits into
elastic:master
from
michalpristas:agent-inspect-better-err
May 14, 2020
Merged
[Elastic Agent] Cleaner output of inspect command #18405
michalpristas
merged 6 commits into
elastic:master
from
michalpristas:agent-inspect-better-err
May 14, 2020
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
michalpristas
added
enhancement
needs_backport
PR is waiting to be backported to other branches.
elastic-agent
Ingest Management:beta1
Group issues for ingest management beta1
labels
May 11, 2020
Pinging @elastic/ingest-management (Team:Ingest Management) |
botelastic
bot
added
the
needs_team
Indicates that the issue/PR needs a Team:* label
label
May 11, 2020
michalpristas
changed the title
[Elastic Agent] No call stack on inspect warnings
[Elastic Agent] More clear output of inspect command
May 11, 2020
michalpristas
changed the title
[Elastic Agent] More clear output of inspect command
[Elastic Agent] Cleaner output of inspect command
May 11, 2020
💚 Build SucceededExpand to view the summary
Build stats
Test stats 🧪
|
ph
approved these changes
May 13, 2020
michalpristas
added a commit
to michalpristas/beats
that referenced
this pull request
May 15, 2020
* no stack on inspect warnings
6 tasks
v1v
added a commit
to v1v/beats
that referenced
this pull request
May 15, 2020
…w-oss * upstream/master: (27 commits) Disable host fields for "cloud", panw, cef modules (elastic#18223) [docs] Rename monitoring collection from legacy internal collection to legacy collection (elastic#18504) Introduce auto detection of format (elastic#18095) Add additional fields to address issue elastic#18465 for googlecloud audit log (elastic#18472) Fix libbeat import path in seccomp policy template (elastic#18418) Address Okta input issue elastic#18530 (elastic#18534) [Ingest Manager] Avoid Chown on windows (elastic#18512) Fix Cisco ASA/FTD msgs that use a host name as NAT address (elastic#18376) [CI] Optimise stash/unstash performance (elastic#18473) Libbeat: Remove global loggers from libbeat/metric and libbeat/cloudid (elastic#18500) Fix PANW bad mapping of client/source and server/dest packets and bytes (elastic#18525) Add a file lock to the data directory on startup to prevent multiple agents. (elastic#18483) Followup to 12606 (elastic#18316) changed input from syslog to tcp/udp due to unsupported RFC (elastic#18447) Improve ECS field mappings in Sysmon module. (elastic#18381) [Elastic Agent] Cleaner output of inspect command (elastic#18405) [Elastic Agent] Pick up version from libbeat (elastic#18350) Update communitybeats.asciidoc (elastic#18470) [Metricbeat] Change visualization interval from 15m to >=15m (elastic#18466) docs: Fix typo in kerberos docs (elastic#18503) ...
michalpristas
added a commit
to michalpristas/beats
that referenced
this pull request
May 15, 2020
* no stack on inspect warnings
6 tasks
michalpristas
added a commit
that referenced
this pull request
May 17, 2020
michalpristas
added a commit
that referenced
this pull request
May 17, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
enhancement
Ingest Management:beta1
Group issues for ingest management beta1
needs_backport
PR is waiting to be backported to other branches.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Use of classic errors instead of custom type for inspect command. custom type is more suitable for logs where it carries call stack and error history here we just need an output displayed to user.
Why is it important?
call stack is confusing for user
Checklist
CHANGELOG.next.asciidoc
orCHANGELOG-developer.next.asciidoc
.How to test
build agent and provide config with
management.mode=fleet
without enrolling. then run./elastic-agent inspect
You should see error without call stack
Fixes: #18344